import { createStore } from 'vuex';
import layout from './modules/layout';
import getters from './getters';

console.log('layout', layout);

export default createStore({
  getters,
  mutations: {
    aa() {
      console.log(11);
    },
  },
  actions: {
    setAA({ commit }) {
      commit('aa');
    },
  },
  modules: {
    layout: {
      namespaced: true,
      ...layout,
    },
  },
});
